package com.example.demo.eunm;

public enum Decimal implements Digit {
    ZERO, ONE, TWO, THREE, FOUR, FIVE, SIX, SEVEN, EIGHT, NINE;

    private final int value;

    Decimal() {
        value = ordinal();
    }

    @Override
    public int getValue() {
        return value;
    }

    public static class Constants {
        public static final String ZERO = "ZERO";
    }
}
